import request from "@/utils/request";

// 查询安环公司考核排名列表
export function listBizAnhuanCompany(query) {
  return request({
    url: "/biz/bizAnhuanCompany/list",
    method: "get",
    params: query,
  });
}

// 查询安环公司考核排名详细
export function getBizAnhuanCompany(id) {
  return request({
    url: "/biz/bizAnhuanCompany/" + id,
    method: "get",
  });
}

// 新增安环公司考核排名
export function addBizAnhuanCompany(data) {
  return request({
    url: "/biz/bizAnhuanCompany",
    method: "post",
    data: data,
  });
}

// 修改安环公司考核排名
export function updateBizAnhuanCompany(data) {
  return request({
    url: "/biz/bizAnhuanCompany",
    method: "put",
    data: data,
  });
}

// 删除安环公司考核排名
export function delBizAnhuanCompany(id) {
  return request({
    url: "/biz/bizAnhuanCompany/" + id,
    method: "delete",
  });
}

// 查询最大编号
export function findMaxSort() {
  return request({
    url: "/biz/bizAnhuanCompany/findMaxSort",
    method: "get",
  });
}
// 导出安环公司考核排名
export function exportBizAnhuanCompany(query) {
  return request({
    url: "/biz/bizAnhuanCompany/export",
    method: "get",
    params: query,
  });
}
